import React from 'react';
import classes from "./index.module.css";
import { Link } from "react-router-dom";

function PageError(props) {
    return (
        <div className={classes.box}>
            <div className={classes.wrap}>
                <div className={classes.logo}>
                    <h1>404</h1>
                    <p>抱歉！不存在此页</p>
                    <div className={classes.sub}>
                        <p>
                            <Link to="/login">回首页</Link>
                        </p>
                    </div>
                </div>
            </div>
        </div>
    );
}

export default PageError;
